// 在react中兄弟组件传参首先下包 events // npm i events
import {EventEmitter} from "events" // 事件总线
class Myevents extends EventEmitter {

}
export default new Myevents()